class Time:
    def __init__(self,hour,minute,second):
        if not  0 <= hour < 24:
            hour = 0
        if not 0 <= minute < 60:
            minute = 0
        if not 0 <= second < 60:
            second = 0
        self.hour = hour
        self.minute = minute
        self.second = second
    def set_hour(self,hour):
        self.hour = hour
    def set_minute(self,minute):
        self.minute = minute
    def set_second(self,second):
        self.second = second
    def set_time(self,hour,minute,second):
        self.hour = hour
        self.minute = minute
        self.second = second
    def show(self):
        print(f"当前时间: {self.hour}:{self.minute}:{self.second}")
x,y,z = input().split()
t = Time(int(x),int(y),int(z))
t.show()